package com.it.service;

import com.it.domain.AdminUsers;
import com.it.domain.Employee_salary;

import java.util.List;

public interface AdminUsersService {
    /**
     * 登录
     * @param adminUsers
     * @return
     */
    List<AdminUsers> UserLogin(AdminUsers adminUsers);

    /**
     * 注册
     * @param adminUsers
     */
    void UserRegist(AdminUsers adminUsers);

    /**
     * 查询所有
     * @return
     */
    List<AdminUsers> FindAll (int page,int size);

    /**
     * 根据id查询用户
     * @param id
     * @return
     */
    List<AdminUsers> FindById(int id);

    /**
     * 根据id修改user
     * @param adminUsers
     */
    void changeById(AdminUsers adminUsers);

    /**
     * 根据id删除user
     * @param id
     */
    void deleById(int id);

    /**
     * 根据名称模糊查询
     * @param name
     * @return
     */
    List<AdminUsers> findByName(String name,int page,int size);

    /**
     * salary中插入
     * @param employee_salary
     */
    void insertSalary(Employee_salary employee_salary);

    /**
     * salary查询
     * @return
     */
    List<Employee_salary> FindAllSalary(int page,int size);

    /**
     * 根据名称模糊查询salary
     * @param name
     * @return
     */
    List<Employee_salary> FindAllSalaryByName(String name,int page,int size);
}
